<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
  <script type="text/javascript">
  var arra=new Array("Java","Html","Sqlserver");
  document.write(arra+"<br>");
  var arrb=new Array("QTP","Selenium","LoadRunner","Jmeter");
  var arrc=new Array(7);
 arrc[0]="Java";
 arrc[1]="Html";
 arrc[2]="SqlServer";
 arrc[3]="QTP";
 arrc[4]="Selenium";
 arrc[5]="LoadRunner";
 arrc[6]="Jmeter";
 var arrd=arrc.sort();
 arrd=arra.concat(arrb);
  document.write(arrd+"<br>");
function sortNumber(a,b){
	return a-b;
}
  var arrdd=new Array(12,332,111,2321,31,-13);
  document.write(arrdd.sort(sortNumber));
  </script>
 </body>
</html>
